package com.weipai.education.controller;

import com.weipai.education.dao.TestDao;
import com.weipai.education.model.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: 曹朋飞
 * @Date: 2018/12/03 13:38
 */
@RestController
public class TestController {
    
    @Autowired
    private TestDao testDao;

    @RequestMapping("/test")
    public Test test(){
        Test a = testDao.get();
        System.out.println("sedf");
        
        Test.builder();
        
        
        return testDao.get();
    }
}
